<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">大师名字:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="name" name="row[name]" value=""
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="details" class="control-label col-xs-12 col-sm-2">大师简介:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="details" name="row[details]" value=""
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="head" class="control-label col-xs-12 col-sm-2">大师头像:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="head" class="form-control" size="50" name="row[head]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image5" class="btn btn-danger plupload"
                                  data-input-id="head"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image5"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image5" class="btn btn-primary fachoose"
                                  data-input-id="product_img" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image5"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="picture" class="control-label col-xs-12 col-sm-2">大师艺术照:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="picture" class="form-control" size="50" name="row[picture]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image1" class="btn btn-danger plupload"
                                  data-input-id="picture"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image1"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image1" class="btn btn-primary fachoose"
                                  data-input-id="product_img" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image1"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="teapot_pic" class="control-label col-xs-12 col-sm-2">茶壶图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="teapot_pic" class="form-control" size="50" name="row[teapot_pic]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image2" class="btn btn-danger plupload"
                                  data-input-id="teapot_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image2"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image2" class="btn btn-primary fachoose"
                                  data-input-id="teapot_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image2"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="process_pic" class="control-label col-xs-12 col-sm-2">制壶过程:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="process_pic" class="form-control" size="50" name="row[process_pic]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image3" class="btn btn-danger plupload"
                                  data-input-id="process_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image3"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image3" class="btn btn-primary fachoose"
                                  data-input-id="process_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image3"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="scene_pic" class="control-label col-xs-12 col-sm-2">生活场景:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="scene_pic" class="form-control" size="50" name="row[scene_pic]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image4" class="btn btn-danger plupload"
                                  data-input-id="scene_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image4"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image4" class="btn btn-primary fachoose"
                                  data-input-id="scene_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image4"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_name" class="control-label col-xs-12 col-sm-2">茶壶名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_name" name="row[pot_name]" value=""
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_pic" class="control-label col-xs-12 col-sm-2">茶壶商品图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="pot_pic" class="form-control" size="50" name="row[pot_pic]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image6" class="btn btn-danger plupload"
                                  data-input-id="pot_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image6"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image6" class="btn btn-primary fachoose"
                                  data-input-id="pot_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image6"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_size" class="control-label col-xs-12 col-sm-2">尺寸:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_size" name="row[pot_size]" value=""
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_size" class="control-label col-xs-12 col-sm-2">窑口工艺:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_technology" name="row[pot_technology]" value=""
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_capacity" class="control-label col-xs-12 col-sm-2">容量:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_capacity" name="row[pot_capacity]" value=""
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_colour" class="control-label col-xs-12 col-sm-2">釉色:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_colour" name="row[pot_colour]" value=""
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_mode" class="control-label col-xs-12 col-sm-2">成型方式:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_mode" name="row[pot_mode]" value=""
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_decorate" class="control-label col-xs-12 col-sm-2">装饰工艺:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_decorate" name="row[pot_decorate]" value=""
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_shop_url" class="control-label col-xs-12 col-sm-2">商城链接:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_shop_url" name="row[pot_shop_url]" value=""
                   data-rule="required"/>
        </div>
    </div>


    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
